package com.glsc.ngateway.platform.service.sequenceproduce;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 编号上下文
 * @author xuchang
 */
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class SequenceProduceContext {
    /**
     * 业务类别
     */
    private BusinessTypeEnum businessType;
    /**
     * 结果
     */
    private String res;
    /**
     * 重试次数
     */
    @Builder.Default
    private Integer retryCount = 0;
}
